package com.ruoyi.app.dyh.hxf.mapper;

import com.ruoyi.app.dyh.hxf.domain.Active;
import com.ruoyi.app.dyh.hxf.domain.Organization;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyCreateMapper {
    long selectTeamIDinsertUser(String teamName);
    int insertTeam(Active active);

    int insertOrganization(Organization organization);

    Organization getInfo(String teamId);

    int edit(Organization organization);

    List<String> selectAllId();

    List<Active> selectAllTeam(Long userId);

    int selectTeamID(long userId);

    String selectMyName(long userId);

    long selectDeptId(long userId);

    String selectLeaderName(long deptId);

    long selectLastId(String leaderName);

    String selectActiveId(String myName);
}
